package com.dingli.framework.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("账单表")
public class Bill {

    @ApiModelProperty("账单ID")
    private Integer billId;

    @ApiModelProperty("用户ID")
    private Integer userId;

    @ApiModelProperty("卡ID")
    private Integer cardId;

    @ApiModelProperty("账单生成时间")
    private Date billTime;

    @ApiModelProperty("上一账单ID")
    private Integer previousBillId;

    @ApiModelProperty("本期账单金额")
    private double billAmount;

    @ApiModelProperty("最低还款")
    private double minimumRepayment;

    @ApiModelProperty("已还款金额")
    private double payment;

    @ApiModelProperty("消费笔数")
    private Integer consumNumber;

    @ApiModelProperty("最后还款日")
    private Date lastRepaymentDate;

    @ApiModelProperty("账单状态：-1-逾期，0-待还，1-已还")
    private Integer billStatus;


}
